package com.zjxny.actions;

import java.util.Map;

import org.springframework.stereotype.Service;

import xyz.erupt.annotation.sub_erupt.Tpl;
import xyz.erupt.tpl.annotation.EruptTpl;
import xyz.erupt.tpl.annotation.TplAction;

/**
 * https://www.yuque.com/erupts/erupt/sgx66o
 */
@EruptTpl(engine = Tpl.Engine.Thymeleaf)
@Service
public class ThymeleafAction {

    //value 值与 "菜单维护" 里的 "类型值" 要一致
    //path 值为模板文件完整路径
    @TplAction(value="dashboard.html",path="/tpl/thymeleaf/dashboard.html") 
    public Map<String, Object> dashboard2() {
        return null;
    }

}